class CreateMywikiUsers < ActiveRecord::Migration
  def self.up
    create_table :mywiki_users do |t|
		t.column "user", :string, :null => false
		t.column "a_priv", :boolean, :default => false
		t.column "c_priv", :boolean, :default => false
		t.column "e_priv", :boolean, :default => false
		t.column "d_priv", :boolean, :default => false
		t.column "r_priv", :boolean, :default => true
    end
  end

  def self.down
    drop_table :mywiki_users
  end
end
